package cn.edu.ctbu.demo1.repository;

import cn.edu.ctbu.demo1.domain.Course;
import cn.edu.ctbu.demo1.domain.Tc;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface TcRepository extends JpaRepository<Tc,Integer> {

    Page<Tc> findAll(Pageable pageable);
    Tc findByTname(String name);
}
